package com.hengda.museumonline;

import android.app.Application;
import android.content.Context;

import com.hengda.museumonline.entity.LoginBean;
import com.yolanda.nohttp.Logger;
import com.yolanda.nohttp.NoHttp;

/**
 * @author：JFWU on 2016/9/10 14:33
 * @E-mail：jeffy12138@126.com
 */
public class MyApplication extends Application {
    public static Context context;
    public static final String url = "http://192.168.10.20/wbzxapi/";
    public static  LoginBean loginBean = null;
    @Override
    public void onCreate() {
        context = getApplicationContext();
        super.onCreate();
        // 初始化NoHttp
        NoHttp.init(this);
        // 开启调试模式
        Logger.setDebug(true);
        Logger.setTag("NoHttp");
    }
}
